# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui/main_window.ui'
#
# Created: Sat Jun  4 13:51:21 2011
#      by: PyQt4 UI code generator 4.8.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1152, 524)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/caliente.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.calendarWidget = QtGui.QCalendarWidget(self.centralwidget)
        self.calendarWidget.setMaximumSize(QtCore.QSize(350, 16777215))
        self.calendarWidget.setFirstDayOfWeek(QtCore.Qt.Monday)
        self.calendarWidget.setGridVisible(True)
        self.calendarWidget.setObjectName(_fromUtf8("calendarWidget"))
        self.verticalLayout_2.addWidget(self.calendarWidget)
        self.todayButton = QtGui.QPushButton(self.centralwidget)
        self.todayButton.setObjectName(_fromUtf8("todayButton"))
        self.verticalLayout_2.addWidget(self.todayButton)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout_3.addLayout(self.verticalLayout_2)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSpacing(-1)
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.eventWidget = EventWidget(self.centralwidget)
        self.eventWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.eventWidget.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.eventWidget.setColumnCount(0)
        self.eventWidget.setObjectName(_fromUtf8("eventWidget"))
        self.eventWidget.setColumnCount(0)
        self.eventWidget.setRowCount(0)
        self.eventWidget.horizontalHeader().setVisible(True)
        self.eventWidget.horizontalHeader().setDefaultSectionSize(100)
        self.eventWidget.horizontalHeader().setHighlightSections(False)
        self.eventWidget.horizontalHeader().setMinimumSectionSize(100)
        self.eventWidget.horizontalHeader().setStretchLastSection(False)
        self.eventWidget.verticalHeader().setHighlightSections(True)
        self.eventWidget.verticalHeader().setMinimumSectionSize(30)
        self.verticalLayout.addWidget(self.eventWidget)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.addEventButton = QtGui.QPushButton(self.centralwidget)
        self.addEventButton.setObjectName(_fromUtf8("addEventButton"))
        self.horizontalLayout.addWidget(self.addEventButton)
        self.changeEventButton = QtGui.QPushButton(self.centralwidget)
        self.changeEventButton.setObjectName(_fromUtf8("changeEventButton"))
        self.horizontalLayout.addWidget(self.changeEventButton)
        self.deleteEventButton = QtGui.QPushButton(self.centralwidget)
        self.deleteEventButton.setObjectName(_fromUtf8("deleteEventButton"))
        self.horizontalLayout.addWidget(self.deleteEventButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        self.horizontalLayout_3.setStretch(1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1152, 30))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionQuit = QtGui.QAction(MainWindow)
        self.actionQuit.setObjectName(_fromUtf8("actionQuit"))
        self.actionAbout_Caliente = QtGui.QAction(MainWindow)
        self.actionAbout_Caliente.setIcon(icon)
        self.actionAbout_Caliente.setObjectName(_fromUtf8("actionAbout_Caliente"))
        self.actionAbout_Qt4 = QtGui.QAction(MainWindow)
        self.actionAbout_Qt4.setObjectName(_fromUtf8("actionAbout_Qt4"))
        self.menuFile.addAction(self.actionQuit)
        self.menuHelp.addAction(self.actionAbout_Caliente)
        self.menuHelp.addAction(self.actionAbout_Qt4)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Caliente - spice up your life", None, QtGui.QApplication.UnicodeUTF8))
        self.todayButton.setText(QtGui.QApplication.translate("MainWindow", "Go to today", None, QtGui.QApplication.UnicodeUTF8))
        self.addEventButton.setText(QtGui.QApplication.translate("MainWindow", "add ", None, QtGui.QApplication.UnicodeUTF8))
        self.changeEventButton.setText(QtGui.QApplication.translate("MainWindow", "change", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteEventButton.setText(QtGui.QApplication.translate("MainWindow", "delete", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setText(QtGui.QApplication.translate("MainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout_Caliente.setText(QtGui.QApplication.translate("MainWindow", "About Caliente", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout_Qt4.setText(QtGui.QApplication.translate("MainWindow", "About Qt", None, QtGui.QApplication.UnicodeUTF8))

from event_widget import EventWidget
import icons_rc
